<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Page
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: index.tpl 2010-08-31 17:53 idris $
 * @author     Idris
 */
?>

<div class="page_list">
	<?php foreach($this->pages as $page): ?>
	  <div class="item">
	    <?php echo $this->htmlLink($page->getHref(), $this->itemPhoto($page, 'thumb.icon', '', array('class' => 'thumb_icon item_photo_page')), array('class' => 'page_profile_thumb')); ?>
	    <div class="r">
	      <?php echo $this->htmlLink($page->getHref(), $page->getTitle(), array('class' => 'page_profile_title')); ?><br />
	      <span><?php echo $page->getDescription(true, true, false, 50); ?></span>
	    </div>
	    <div class="clr"></div>
	    <span class="author"><?php echo $this->translate("Published by"); ?> <?php echo $this->htmlLink($page->owner->getHref(), $page->owner->getTitle()); ?></span>
	  </div>
	<?php endforeach; ?>
</div>